package com.mrd.gtimpframe.service;


import com.mrd.gtimpframe.entity.UserService;

import java.util.List;

/**
 * Created by dusy on 2017/7/20.
 */
public interface UserServiceService {
    int deleteByPrimaryKey(String id);
    /**
     * id自动生成，填入的id将被覆盖
     * @param record
     * @return
     */
    int insert(UserService record);
    /**
     * id自动生成，填入的id将被覆盖
     * @param record
     * @return
     */
    int insertSelective(UserService record);

    UserService selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserService record);

    int updateByPrimaryKey(UserService record);

    /**
     * 根据非空属性查找
     * @param record
     * @return
     */
    List<UserService> selectSelective(UserService record);
}
